<template>
  <el-card>
    <line-chart :chart-data="lineData" />
  </el-card>
</template>

<script>
import lineChart from './components/LineChart'
export default {
  name: 'dashboard',
  components: {
    lineChart
  },
  data() {
    return {
      lineData: {
        expectedData: [100, 120, 161, 134, 105, 160, 165],
        actualData: [120, 82, 91, 154, 162, 140, 145]
      }
    }
  },
  beforeDestroy() {
    console.log('dashboard is destroy')
  }
}
</script>

<style>
</style>
